<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul th:fragment="_header(activeIndex)" class="nav navbar-nav navbar-right nav-list">
    <li th:class="${activeIndex==1}?  'active' : ''"><a href="index.html" th:href="@{/}" >首页</a></li>
    <li th:class="${activeIndex==2}?  'active' : ''"><a href="about.html">关于我们</a></li>
    <li th:class="${activeIndex==3}?  'active' : ''"><a href="solution.html" th:href="@{solution/}">解决方案和产品</a></li>
    <li th:class="${activeIndex==4}?  'active' : ''"><a href="case.html" th:href="@{/case}">典型案例</a></li>
    <li th:class="${activeIndex==5}?  'active' : ''"><a  th:href="@{/contacts}">联系我们</a></li>
</ul>
</body>
</html>